.wrapper {
    width: 1240px;
    margin: 0 auto;
}

/* <!-- 快捷导航 --> */
.shortcut{
    height: 52px;
    background-color: #333;
}
/* 快捷导航的版心范围 */
.shortcut .wrapper {
    height: 52px;
    /* background-color: rgb(63, 219, 102); */
}

/* 浮动ul li */
.shortcut .wrapper ul {
    float: right;
}

.shortcut .wrapper li {
    float: left;
    line-height: 52px;
}

/* 设置导航文字 */
.shortcut .wrapper a {
    /* 内边距 */
    padding:0 16px;
    /* 边框 */
    border-right: 1px solid #666;
    /* 字体大小 */
    font-size: 16px;
    /* 颜色 */
    color: #dcdcdc;
}

.shortcut .wrapper a span {
    /* 转模式，为插图做准备 */
    display: inline-block;
    /* 设置宽高 */
    width: 11px;
    height: 16px;
    /* 精灵图的插入 */
    background-position: -160px -70px;
    background-image: url(../image/sprites.png);
    /* 图片与文字对齐 */
    vertical-align: middle;
    /* 设置右边距 */
    margin-right: 8px;
}
.header {
    margin: 30px auto;
    height: 70px;
}
.logo{
    float: left;
    display: block;
    width: 207px;
    height: 70px;
    background-image: url(../image/logo.png);
    background-size: contain;
}
.nav {
    float: left;
    height: 70px;
    margin-left: 40px;
}
.header .wrapper ul {
    float: right;
}

.header .wrapper li {
    float: left;
    line-height: 52px;
}
.nav {
    margin-left: 40px;
    height: 70px;
    display: flex;
    align-items: center; /* 垂直居中 */
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* 使用flex布局 */
}

.nav li {
    margin-right: 20px;
}

.nav li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 0 10px;
    display: block;
}

.nav li a:hover {
    color: #ff6700;
}
/* ===== 搜索栏样式 ===== */
.search {
    display: flex;
    align-items: center; /* 垂直居中 */
    height: 70px; /* 和 header 高度一致 */
    margin-left: 20px; /* 调整与导航菜单的间距 */
}

.search input {
    height: 36px; /* 输入框高度 */
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none; /* 去掉默认聚焦边框 */
}

.search input:focus {
    border-color: #ff6700; /* 聚焦时边框变橙色 */
}

.search-icon {
    font-size: 18px;
    color: #161616;
    margin-right: 8px; /* 调整与输入框的间距 */
    cursor: pointer;
}
/* ===== 购物车样式 ===== */
.cart-wrapper {
    float: right; /* 靠右浮动 */
    position: relative; /* 为红点定位做准备 */
    margin-left: 20px; /* 与搜索框的间距 */
    line-height: 70px; /* 与header高度一致 */
}

.car {
    font-size: 45px !important; /* 购物车图标大小 */
    color: #666; /* 默认颜色 */
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: 8px;
    right: -3px;
    width: 19px;
    height: 19px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    text-align: center;
    line-height: 16px;
}
/* ===== Banner核心样式 ===== */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 20px;
    background-color: #f5f5f5;
}

.banner .wrapper {
    position: relative;
    width: 1240px;
    height: 100%;
    margin: 0 auto;
}

/* 主图样式 */
.banner-list {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1;
}

.banner-list li {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.banner-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 侧边导航 ===== */
.banner .aside {
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.8);
}

.banner .aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* 让 ul 充满 aside */
    height: 100%; /* 让 ul 充满 aside */
}

.banner .aside li {
    height: 50px;
    line-height: 50px;
    width: 100%; /* 让 li 充满 ul */
}

.banner .aside a {
    display: block;
    padding: 0 20px;
    height: 100%;
    width: 210px; /* 毁灭吧直接写死了*/
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* 确保 hover 背景色完整 */
.banner .aside a:hover {
    background-color: #27ba9b;
}
.banner-list img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.banner .wrapper .aside ul a span {
    padding-left: 15px;
    font-size: 14px;
}
/* prev水平方向 */
.prev {
    position: absolute;
    top: 228px;
    right: 927px;
    width: 45px;
    height: 44px;
    background-color: rgba(0, 0, 0, .2);
    background-image: url(../image/sprites.png);
    border-radius: 50%;
    background-position: 14px -59px;
}
/* next水平方向 */
.next {
    position: absolute;
    top: 228px;
    right: 31px;
    width: 45px;
    height: 44px;
    background-color: rgba(0, 0, 0, .2);
    background-image: url(../image/sprites.png);
    border-radius: 50%;
    background-position: -21px -59px;
}
/* 圆点 */
.banner ol {
    position: absolute;
    left: 615px;
    bottom: 30px;
    width: 200px;
    height: 10px;
    /* background-color: pink; */
}

.banner ol li {
    float: left;
    margin-right: 24px;
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
}

 .banner ol .current {
    background-color: #fff;
}

/* 新鲜好物 */
.goods .hd {
    height: 114px;
    /* background-color: pink; */
    line-height: 114px;
}

.goods .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}

.goods .hd h2 span {
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.goods .hd a,
.shengxian .hd .maore {
    float: right;
    color: #999;
    margin-left: 870px;
    font-size: 16px;
}

.goods .hd a::after,
.shengxian .hd .more::after {
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.goods .bd li {
    position: relative;
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
    background-color: #f0f9f4;
    text-align: center;
}

.goods .bd li:nth-child(4n) {
    margin-right: 0;
}

.goods .bd li img {
    width: 304px;
}

.goods .bd li h3 {
    margin-top: -16px;
    margin-bottom: -20px;
    font-size: 20px;
    font-weight: 400;
}

.goods .bd li div {
    color: #9a2e1f;
    font-size: 17px;
}

.goods .bd li div span {
    font-size: 23px;
}

.goods .bd li b {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 28px;
    height: 51px;
    border: 1px solid #27ba9b;
    border-radius: 2px ;
    font-size: 18px;
    color: #27ba9b;
    font-weight: 400;
    /* 默认行高导致两个字之间稍微有一点远，可以设置行高,利用检查器进行调整 */
    line-height: 24px;
}

/* 人气推荐 */
.recommend .hd {
    height: 114px;
    /* background-color: pink; */
    line-height: 114px;
}

.recommend .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}

.recommend .hd h2 span {
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.recommend .hd a {
    float: right;
    color: #999;

}

.recommend .hd a::after {
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.recommend .bd li {
    position: relative;
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
    background-color: #f0f9f400;
    text-align: center;
}

.recommend .bd li:nth-child(4n) {
    margin-right: 0;
}

.recommend .bd li img {
    width: 304px;
}

.recommend .bd li h3 {
    margin-top: -16px;
    margin-bottom: -20px;
    font-size: 20px;
    font-weight: 400;
}

.recommend .bd li div {
    color: #9a2e1f;
    font-size: 17px;
}

.recommend .bd li div span {
    font-size: 13px;
    color: #999;
}

.recommend .bd li b {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 28px;
    height: 102px;
    border: 1px solid #27ba9b;
    border-radius: 2px ;
    font-size: 18px;
    color: #27ba9b;
    font-weight: 400;
    /* 默认行高导致两个字之间稍微有一点远，可以设置行高,利用检查器进行调整 */
    line-height: 24px;
}

/* 热门品牌 */
.hot .hd {
    height: 114px;
    /* background-color: pink; */
    line-height: 114px;
}

.hot .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}

.hot .hd h2 span {
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.hot .hd a {
    float: right;
    color: #999;
    /* margin-left: 870px;
    font-size: 16px; */
}

.hot .hd a::after {
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 14px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 4px -109px;
    vertical-align: middle;
}

.hot .hd a::after:hover {
    background-color: skyblue;
}

.hot .bd li {
    position: relative;
    float: left;
    margin-right: 8px;
    width: 240px;
    height: 319px;
    background-color: #f0f9f4;
    text-align: center;
}

.hot .bd li:nth-child(5n) {
    margin-right: 0;
}

.hot .bd li img {
    width: 245px;
}

.hot .bd li h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
}

.hot .bd li div {
    color: #9a2e1f;
    font-size: 17px;
}

.hot .bd li div span {
    font-size: 23px;
}

.hot .bd li b {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 28px;
    height: 51px;
    border: 1px solid #27ba9b;
    border-radius: 2px ;
    font-size: 18px;
    color: #27ba9b;
    font-weight: 400;
    /* 默认行高导致两个字之间稍微有一点远，可以设置行高,利用检查器进行调整 */
    line-height: 24px;
}
 
/* 生鲜 */
.shengxian .hd {
    height: 96px;
    /* background-color: pink; */
    line-height: 96px;
}

.shengxian .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
}

.shengxian .hd .more {
    float: right;
}

.shengxian .hd ul {
    float: right;
    margin-right: 65px;
}

.shengxian .hd ul li {
    float: left;
}

.shengxian .hd li a {
    padding: 2px 7px;
    margin-left: 6px;
}

.shengxian .hd li a:hover {
    background-color: #27ba9b;
    color: #fff;
}

.shengxian .bd .left {
    float: left;
    width: 240px;
    height: 618px;
    background-color: pink;
}

.shengxian .bd .right {
    float: left;
    width: 1000px;
    height: 610px;
    /* background-color: blue; */
}

.shengxian .bd li img {
    width: 242px;
}

.shengxian .bd li {
    position: relative;
    float: left;
    margin-right: 8px;
    width: 244px;
    height: 305px;
    background-color: #f0f9f400;
    text-align: center;
}

.shengxian .bd li:nth-child(4n) {
    margin-right: 0;
}
/* 清除图片链接的蓝色边框和下划线 */
.goods .bd li a {
    color: black;
    text-decoration: none;
    border: none;
    outline: none;
}

/* 可选：如果还有蓝色边框，可能是聚焦状态 */
.goods .bd li a:focus {
    outline: none;
    box-shadow: none;
}
/* 清除图片链接的蓝色边框和下划线 */
.recommend .bd li a {
    color: black;
    text-decoration: none;
    border: none;
    outline: none;
}

/* 可选：如果还有蓝色边框，可能是聚焦状态 */
.recommend .bd li a:focus {
    outline: none;
    box-shadow: none;
}
/* 生鲜标题区域样式 */
.shengxian .hd {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 两端对齐 */
    height: 96px;
    line-height: 96px;
    margin-bottom: 20px; /* 添加底部间距 */
}

.shengxian .hd h2 {
    font-size: 29px;
    font-weight: 400;
    margin: 0; /* 移除默认边距 */
}

.shengxian .hd .more {
    color: #999;
    font-size: 16px;
    margin-left: auto; /* 将"查看全部"推到右侧 */
    margin-right: 20px; /* 与分类导航的间距 */
}

.shengxian .hd ul {
    display: flex; /* 水平排列分类导航 */
    list-style: none;
    margin: 0;
    padding: 0;
}

.shengxian .hd ul li {
    margin-left: 6px;
}

.shengxian .hd li a {
    display: block;
    padding: 2px 7px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: normal; /* 覆盖父级的行高 */
    border-radius: 2px; /* 圆角效果 */
    transition: all 0.3s; /* 平滑过渡效果 */
}

.shengxian .hd li a:hover {
    background-color: #27ba9b;
    color: #fff;
}
.right ul li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    text-align: center; /* 居中显示内容 */
}

.right ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.right ul li img {
    width: 120px;
    height: auto;
    margin: 0 auto;
}
img {
    vertical-align: middle;
}
img {
    overflow-clip-margin: content-box;
    overflow: clip;
}
.product-info {
    font-family: Arial, sans-serif; /* 可选：设置字体 */
    color: #333; /* 默认文字颜色 */
    line-height: 1.5; /* 行高，让文字更易读 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
}

/* 商品名称（第一行） */
.product-info p:first-child {
    font-size: 12px;
    font-weight: bold;
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
}

/* 规格信息（第二行） */
.product-info p:nth-child(2) {
    font-size: 12px;
    color: #666; /* 灰色文字 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */

}

/* 分类标签（第三行） */
.product-info p:nth-child(3) {
    font-size: 12px;
    color: #999; /* 更浅的灰色 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */

}

/* 价格部分 */
.product-info div {
    font-size: 15px;
    color: #e4393c; /* 红色价格 */
    font-weight: bold;
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
}

/* 价格数字（可选：调整价格数字的样式） */
.product-info div span {
    font-size: 15px; /* 比符号稍大 */
    margin: 0; /* 清除默认外边距 */
    padding: 0; /* 清除默认内边距 */
}
.right ul li img {
    width: 242px;      /* 固定宽度 */
    height: 234.297px; /* 固定高度 */
    object-fit: cover; /* 保持比例并填充容器（可选） */
}
.service {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 1px solid #f5f5f5;
  }
  
  .service h4 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  
  .service ul {
    list-style: none;
  }
  
  .service li {
    margin-bottom: 12px;
  }
  
  .service a {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
  }
  
  .service a:hover {
    color: #27ba9b;
  }
  
  .size {
    font-size: 22px;
    margin-right: 8px;
  }
  
  .download {
    display: flex;
  }
  
  .download .left {
    margin-right: 10px;
    font-size: 60px;
    color: #27ba9b;
  }
  
  .download .right p {
    font-size: 14px;
    color: #999;
  }
  
  .phone span {
    display: block;
    color: #27ba9b;
    font-size: 22px;
    margin: 10px 0;
  }
  
  .footer {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* 让footer宽度跟浏览器一样大 */
    background-color: #101010;
    padding: 20px 0;
    font-size: 12px;
    color: #666;;
  }

  
  .footer .top ul {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 20px 0;
  }
  
  .footer .wrapper .top li {
    position: relative;
    right: -180px;
    float: left;
    margin-left: 100px;
    margin-right: 100px;
    width: 195px;
    height: 58px;
    line-height: 58px;
}
.footer .wrapper .top li span{
    position: relative;
    right: 41px;;
    width: 60px;
    height: 60px;
    font-size: larger;
    color: whitesmoke;
}
  .footer .top li::before {
    content: "";
    position: absolute;
    left: -108px;
    top: 0;
    width: 53px;
    height: 50px;
    background: url(../image/sprites.png) no-repeat;
    background-size: 350px 350px;
  }
  
  .footer .bottom {
    text-align: center;
  }
  
  .footer .bottom a {
    color: #666;
    margin: 0 6px;
  }
  
  .footer .bottom a:hover {
    color: #27ba9b;
  }
  .footer .top li:nth-child(1)::before {
    background-position: 0 0;
  }
  
  .footer .top li:nth-child(2)::before {
    background-position: -54px 0px;

  }
  
  .footer .top li:nth-child(3)::before {
    background-position: -115px 0;
  }
  
  .nor{
    font-size: 45px !important; /* 购物车图标大小 */
    color: #666; /* 默认颜色 */
    cursor: pointer;
    text-decoration: none !important;
  }
  li {
    list-style: none;
  }
  